package edu.pe.cayetano.view.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;


public class LoginForm extends ActionForm{

	private static final long serialVersionUID = 1L;
	private String password = null;
    private String username = null;
    private String nuevoPassword = null;
    public String getPassword() {
        return password;
    }

    public void setPassword(String p) {
        this.password = p;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String u) {
        this.username = u;
    }

    public void reset(ActionMapping mapping, HttpServletRequest request) {
        password = null;
        username = null;
    }

    public ActionErrors validate(ActionMapping mapping,
            HttpServletRequest request) {
        ActionErrors errors = new ActionErrors();
        return errors;

    }

    public String getNuevoPassword() {
		return nuevoPassword;
	}
	
    public void setNuevoPassword(String nuevoPassword) {
		this.nuevoPassword = nuevoPassword;
	}
}
